package com.ustb.springboot.entity;

import com.baomidou.mybatisplus.annotation.TableName;
//import com.sun.org.apache.xpath.internal.operations.Bool;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 表单属性
 *
 * @author pyn
 * @email 1661829453@qq.com
 * @date 2022-05-02 20:58:29
 */
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")

@Accessors(chain = true)
@Data
@TableName("tb_form")
public class FormEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	//表单id
	private String id;
	//所属用户id
	private Integer userId;
	//表单标题
	private String formName;
	//表单信息 描述信息
	private String formInfo;
	//已提交表单数量
	private Integer counts;
	//表单状态
	private Integer formStatus;
	//表单url
	private String formUrl;
	//表单创建时间
	private Date createTime;
	//是否时间限制 0 不限制 1 限制
	private Boolean timeLimit;
    //表单开始时间
    private Date beginTime;
    //表单结束时间
    private Date endTime;
    //问卷访问密码 为空表示无密码
    private String formPassword;
    //表单ip限制 0不限制 1限制
    private Boolean ipLimit;
    //填写是否匿名 1匿名 0 需要登录
    private Boolean isAnonymous;

    //所属部门id
    private String departmentId;


}
